home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
001
/
modbutlr.arc
/
BUTLER.DOC
< prev
next >
Wrap
Text File
|
1986-06-18
|
9KB
|
187 lines
------------------------------------------------------------------------------
SHORT AND TEMPORARY DOCUMENTATION FOR MODEM BUTLER VERSION 2.03
------------------------------------------------------------------------------
─Invoking ModemButler from DOS────────────────────────────────────────────────
from DOS, type:
BUTLER CMNDFILE[.EXT] HISTFILE[.HIS] {str1} .. {str7}
│ │ └───────────┐
╔══════╧═══════════╗ ╔═══╧═════════════════╗ ╔════════╧══════════════════╗
║ the name of the ║ ║ name of the history ║ ║ up to 7 strings (without ║
║ command file you ║ ║ file for this ║ ║ quotes or spaces) can be ║
║ wish to execute. ║ ║ session. If omitted ║ ║ specified. The 7 will be ║
║ EXT optional, ║ ║ CMNDFILE.HIS is ║ ║ placed in parameters |1 ║
║ .BUT used if no ║ ║ used. If no EXT ║ ║ thru |7. These strings ║
║ EXT supplied. ║ ║ specified, .HIS ║ ║ are optional. ║
╚═Command Filename═╝ ║ used. ║ ╚══Setting Parameters═══════╝
╚═History Filename════╝
─Conventions Used in this Listing─────────────────────────────────────────────
{num} parameter required is a number
{label} a string of characters (not including a space) "marking"
a section of your command file. Lower-case characters
are different than upper-case (i.e. LABEL, label and Label
are all different labels)
{filename} parameter required is a legal file name
/ denotes a choice of parameters for this command
\
{char} one alphanumeric character (a letter, number or symbol)
is required
{HH:MM:SS} time value in DOS standard 24 hour format. Separate with
colons, no spaces
{str} a string, delimited by " is required (i.e., "Hello" is
legal, Hello is not). The placement of a { in a string
will cause a CR (carrage return) to be substituted in its
place. This means that you can't use the character {
in a string except to signify a return
{ph no} a series of characters ( - () and modem commands are legal)
which will be sent to the modem with the dialing command
{drive/path} a string without quotes which specifies a drive and/or path
(i.e., B:\TURBO\BUTLER or A:)
─Brief Listing of Commands────────────────────────────────────────────────────
. A period followed by anything is disregarded by BUTLER. This is used
for the purposes of documenting your command files
NOTE: this character can be changed through the BUTINST utility
{ This symbol will be replaced with a Carriage Return (CR) value when
found in the command file. As a consequence, this character cannot
be represented in a string unless you change to something else through
BUTINST
NOTE: this character can be changed through the BUTINST utility.
]{label} This is the syntax for a label declaration. For rules regarding the
naming of labels, see "Conventions" section above. To see what
labels are good for, see the GOTO command below. This statement
alone will not have any visible effect upon command file execution.
NOTE: this character (]) can be changed through the BUTINST utility.
|{char} When placed anywhere in a command file, will cause the |{char} to
be replaced with the corresponding parameter. The parameter and
the {char}, which I'll call a trigger, can be specified in
three ways:
- through the command line, |1 through |7 can be specified.
- through the ASK command (see below) any string can be
attached to any trigger (numeric or a letter) interactively
- through the ASSIGN command (see below) any string can be
set to any trigger in the command file.
Up to twenty trigger/parameter combinations can be specified,
using whatever trigger symbols you desire.
ASK {char} {str} Places BUTLER in an interactive mode. A small window is
opened on screen, and {str} is displayed (as a prompt).
The operator must then enter a string (quotes aren't
needed as delimiters) which is placed in the parameter
corresponding to (char)
ASSIGN {char} {str} Assigns parameter {str} to trigger {char}
BAUD {num} Change baud rate [default 1200]
BEEP {num} Beeps the speaker for approximately 3 seconds in the frequency
{num} Hz. (Hertz)
CHARDELAY {num} Set the delay between characters in Ascii file transfers
to {num}
CHDIR {drive/path} Changes the current path/drive to the specified
drive/path
DATABITS {num} Change data bits [default 8]
DIAL command:
The DIAL command is based upon a nine number redial circular queue, or
list. What this basically means is that with one command you can dial
up to nine systems in a row until one answers. For example, you can say:
DIAL 333-1212 QMODEM 5 6 7
This will do the following: first, it will add the number 333-1212 to the
queue. Then ModemButler will attempt to read QMODEM.FON from the current
drive/path because it finds QMODEM on the command line. It will add Qmodem
phone book entries #5, #6 and #7 to the queue. Since there are no more
numbers on the line, Butler will proceed to dial all 4 until it connects with
one. A DIAL command without any parameters will just dial whatever is left
in the queue (numbers are deleted from the queue after a connection is made).
DIAL {ph no1} ... {ph no9}
and/or QMODEM {num1} ... {num9}
DOWNLOAD command:
same subcommands as the UPLOAD command, except that NO {filename} should be
specified for YMODEM, BATCH, TELINK or MODEM7 protocol. The sending system
specifies the sending filename as part of the transfer. NOTE: Please see
UPLOAD command below.
ECHO / ON Turn echo on (half duplex)
\ OFF Turn echo off (full duplex) [default off]
GOTO {label} This will cause ModemButler to "search" for the label character
followed by {label}. File execution will continue from that
point. The GOTO can be issued from before or after the label
named. If no {label} is found, an error is issued and command
file execution is halted.
By the way, since ModemButler searches in sequential order
from the first to the last line in the command file for the
matching label, it can take longer to reach a label at the
end (as opposed to the beginning) of a command file.
HANG Hang up the phone.
LINEDELAY {num} Set the delay between lines in Ascii file transfers to
{num}
NOTE {str} Displays NOTE: followed by {str} in the message window
on-screen
PACING {char} Set the Pacing character in Ascii file transfers to {char}
PORT {num} Comm port to use [default 1]
PARITY {char} Change parity [default N]
PULSE / OFF Will DIAL using tone prefix
\ ON Will DIAL using pulse prefix [default]
/ CHAR {str} Send {str}
SEND \ ASCII {num} Send Ascii code {num}
Please note that if you wish to SEND a cr (carrage return) after a string,
just place a { in the string (i.e., SEND "NAME{"). If you want to send just
a return, you can say SEND "{".
STOPBITS {num} Change stop bits [default 1]
UPLOAD command:
/ CRC Set error checking to CRC
CHK Set error checking to Checksum [default]
KERMIT Not operational yet!
YMODEM {filename} Upload file using Ymodem protocol
BATCH {filename} Upload file(s) matching {filename} (which can have *'s
and ?) using the Ymodem Batch mode protocol (not
supported everywhere). Using BATCH, you can upload more
than one file with one command on systems supporting it.
Good for transfering a whole disk (*.* as {filename})
between two BUTLER equipped computers.
TELINK {filename} Upload file {filename} using Telink protocol
\ MODEM7 {filename} Upload file {filename} using Modem7 protocol
/ FOR {str} Wait until {str} received
WAIT ASCII {num} Wait until Ascii value {num} received
TIME {HH:MM:SS} Wait until system time is {HH:MM:SS}
\ LINES {num} Wait until {num} lines (cr sequences) received
──────────────────────────────────────────────────────────────────────────────
modem butler version two point zero three beta copyright 1985,86 Andrew Brenner
504 Glen Court
Oceanside NY 11572
(516) 764-5248 (voice)
(516) 741-6914 (the railroad bbs - 300, 1200, 2400 baud)
──────────────────────────────────────────────────────────────────────────────